package com.x.erp.model.statis;


import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@MappingTable(tableName = "STATIS_MARKET_STORAGE")
public class MarketStorageVO extends BaseObject {

	@MappingColumn(columnName = "MARKET_ID", columnPk = true, columnLength = 32)
	private String marketId;// 市场Id

	@MappingColumn(columnName = "STORAGE_NUM")
	public Integer storageNum;// 库存数量

	@MappingColumn(columnName = "CAR_OUT_STORAGE_NUM")
	public Integer carOutStorageNum;// 出库数量

	@MappingColumn(columnName = "SALE_VOLUME")
	public BigDecimal saleVolume;// 销售额

	@MappingColumn(columnName = "MARKET_NAME")
	private String marketName;// 市场名称

	@MappingColumn(columnName = "MARKET_SHORT_NAME")
	private String marketShortName;// 市场简称

	@MappingColumn(columnName = "MARKET_LAT")
	private String marketLat;// 市场所在经度

	@MappingColumn(columnName = "MARKET_LNG")
	private String marketLng;// 市场所在纬度

	@MappingColumn(columnName = "SHOP_ID")
	private String shopId;// 车商ID

	@MappingColumn(columnName = "SHOP_NAME")
	private String shopName;// 车商名称

	@MappingColumn(columnName = "SHOP_SHORT_NAME")
	private String shopShortName;// 车商简称

	@MappingColumn(columnName = "STATIS_DAY")
	private String statisDay;// 统计日期

	@MappingColumn(columnName = "BRAND_ID")
	private Integer brandId;// 品牌Id

	@MappingColumn(columnName = "BRAND_NAME")
	private String brandName;// 品牌名称

	@MappingColumn(columnName = "SERIES_ID")
	private Integer seriesId;// 车系Id

	@MappingColumn(columnName = "SERIES_NAME")
	private String seriesName;// 车系名称

	@MappingColumn(columnName = "PRICE_REMARK")
	private String priceRemark;// 价格备注

	@MappingColumn(columnName = "CAR_OUT_COLOR")
	private String carOutColor;// 价格备注

	@MappingColumn(columnName = "CAR_DISPLACEMENT_REMARK")
	private String carDisplacementRemark;// 排量备注

	@MappingColumn(columnName = "CAR_DETECT_STATE")
	private Integer carDetectState;// 检测状态

	@MappingColumn(columnName = "CAR_AUTH_STATE")
	private Integer carAuthState;// 认证状态

	@MappingColumn(columnName = "CAR_SALE_STATE")
	private Integer carSaleState;// 上架状态

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date startDate;// 开始时间

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date endDate;// 结束时间

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

	public Integer getStorageNum() {
		return storageNum;
	}

	public void setStorageNum(Integer storageNum) {
		this.storageNum = storageNum;
	}

	public Integer getCarOutStorageNum() {
		return carOutStorageNum;
	}

	public void setCarOutStorageNum(Integer carOutStorageNum) {
		this.carOutStorageNum = carOutStorageNum;
	}

	public BigDecimal getSaleVolume() {
		return saleVolume;
	}

	public void setSaleVolume(BigDecimal saleVolume) {
		this.saleVolume = saleVolume;
	}

	public String getMarketName() {
		return marketName;
	}

	public void setMarketName(String marketName) {
		this.marketName = marketName;
	}

	public String getMarketShortName() {
		return marketShortName;
	}

	public void setMarketShortName(String marketShortName) {
		this.marketShortName = marketShortName;
	}

	public String getMarketLat() {
		return marketLat;
	}

	public void setMarketLat(String marketLat) {
		this.marketLat = marketLat;
	}

	public String getMarketLng() {
		return marketLng;
	}

	public void setMarketLng(String marketLng) {
		this.marketLng = marketLng;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getShopShortName() {
		return shopShortName;
	}

	public void setShopShortName(String shopShortName) {
		this.shopShortName = shopShortName;
	}

	public String getStatisDay() {
		return statisDay;
	}

	public void setStatisDay(String statisDay) {
		this.statisDay = statisDay;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public Integer getSeriesId() {
		return seriesId;
	}

	public void setSeriesId(Integer seriesId) {
		this.seriesId = seriesId;
	}

	public String getSeriesName() {
		return seriesName;
	}

	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	public String getPriceRemark() {
		return priceRemark;
	}

	public void setPriceRemark(String priceRemark) {
		this.priceRemark = priceRemark;
	}

	public String getCarDisplacementRemark() {
		return carDisplacementRemark;
	}

	public void setCarDisplacementRemark(String carDisplacementRemark) {
		this.carDisplacementRemark = carDisplacementRemark;
	}

	public String getCarOutColor() {
		return carOutColor;
	}

	public void setCarOutColor(String carOutColor) {
		this.carOutColor = carOutColor;
	}

	public Integer getCarDetectState() {
		return carDetectState;
	}

	public void setCarDetectState(Integer carDetectState) {
		this.carDetectState = carDetectState;
	}

	public Date getStartDate() {
		return startDate;
	}

	public Integer getCarAuthState() {
		return carAuthState;
	}

	public Integer getCarSaleState() {
		return carSaleState;
	}

	public void setCarSaleState(Integer carSaleState) {
		this.carSaleState = carSaleState;
	}

	public void setCarAuthState(Integer carAuthState) {
		this.carAuthState = carAuthState;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
}
